package com.scu.qingshi.facade.domain;

import com.scu.qingshi.common.response.BaseResponse;
import com.scu.qingshi.domain.interview.dto.ApplyDTO;
import com.scu.qingshi.domain.interview.dto.BriefInterviewDescriptionDTO;
import com.scu.qingshi.domain.interview.dto.CommunityInterviewDTO;
import com.scu.qingshi.domain.interview.dto.MyInterviewDTO;
import com.scu.qingshi.domain.interview.param.InterviewDetailRequest;
import com.scu.qingshi.domain.interview.response.CommunityInterviewDetailResponse;
import com.scu.qingshi.domain.interview.response.InterviewDetailResponse;
import com.scu.qingshi.infrastructure.dao.po.InterviewProcess;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

public interface InterviewQueryFacade {

    // 社团浏览自己创建的所有面试
    public List<CommunityInterviewDTO> communityGetAllProcess(String openId);

    // 应试者浏览所有面试
    public List<BriefInterviewDescriptionDTO> candidateGetAllProcess(Integer page, Integer pageSize);

    // 应试者浏览面试详情
    public InterviewDetailResponse detail(InterviewDetailRequest interId);

    public Integer candidateGetInterCount();

    public List<MyInterviewDTO> candidateGetMyInter(Integer userId);

    public InterviewDetailResponse previewDetail(Integer interId);

    public List<ApplyDTO> getMyApply(Integer userId);

    public CommunityInterviewDetailResponse communityDetail(Integer interId);

    BaseResponse getAwaitingInterview(Integer interId);
}
